package com.spring.demo11.eg2;

import org.springframework.context.MessageSource;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

/**
 * @author vhans
 */
@Configuration
public class MainConfig3 {
    @Bean
    public MessageSource messageSource() {
        return new MessageSourceFromDb();
    }
}
